
/* MAM Event definitions */

#define		SOFTPAY_INIT				17055

#define		PRINT_EVENT					12006
#define		ACT_EVENT					12007
#define		MAM_OPERATE_IN				12008
#define     SP_COMM_4_REQUEST_EVENT  	12009
#define     SP_COMM_4_GOT_EVENT      	12010
#define     SP_CON_COMM4_REQUEST_EVENT  12011
#define     SP_CON_COMM4_GOT_EVENT      12012
#define     SP_COMM_3_REQUEST_EVENT  	12013
#define     SP_COMM_3_GOT_EVENT      	12014
#define     SP_CON_COMM3_REQUEST_EVENT  12015
#define     SP_CON_COMM3_GOT_EVENT      12016
#define		SP_CARD_SELECT				12020

/* MAM event data field ID's */
#define MAM_OPERATION_CODE		1
#define MAM_SUB_OPERATION_CODE	2
#define MAM_TRAN_MSG_CODE		3


// Events defined by Sadiq for External Apps to run Softpay transactions.
#define   	SP_OPERATION_IN				12021

#define   	SP_OPERATION_COMPLETE		13001

//For ICICI
#define SP_ICICI_DEACTIVATE_EVENT			12024
#define ICICI_RELEASE_DEVICES				12025 	//ATS Bug Fix 35


/* External Event incoming Data Field ID's */

#define EXTERN_APP_NAME			10000
#define OPERATION_ID			10001
#define TRANSACTION_ID			10002
#define CARD_ACCT_NUMBER_IN		10003
#define CARD_EXPIRE_DATE_IN		10004
#define CARD_USER_NAME			10005
#define ENTRY_INDICATOR			10006
#define BASE_AMOUNT_IN 			10007
#define TAX_AMOUNT	 			10008
#define TIP_AMOUNT	 			10009
#define CLERK_ID				10010
#define AVS_ZIP_CODE			10011
#define AVS_ADDRESS_ID			10012
#define CVV2_CVC2_VALUE			10013
#define CVV2_PRESENCE_IND		10014
#define RECEIPT_MSG1			10015
#define RECEIPT_MSG2			10016
#define ICC_DATA				10017

/* External Event outgoing Data Field ID's */

#define CARD_ACCT_NUMBER_OUT	11001
#define CARD_EXPIRE_DATE_OUT	11002
#define TOTAL_AMOUNT			11003
#define APPROVAL_CODE			11004
#define DECLINE_CODE			11005
#define TRAN_CARD_TYPE			11006
#define TRANSACTION_DATE		11007
#define TRANSACTION_TIME		11008
#define INVOICE_NUMBER			11009
#define USER_CANCELED			11010

/* Application logical names */
#define DEVMAN       "DEVMAN"
#define MESSENGER    "TMAIL"


#define SOFTPAY_GUID "{DAF6361C-34A6-4546-8B59-B66D969D8DAF}"

